home *** CD-ROM | disk | FTP | other *** search
- Path: btree.is.brooktree.com!usenet
- From: sasha@brooktree.com (Alex Bakaev)
- Newsgroups: comp.lang.c++
- Subject: Re: Trouble writing windows DLL in Borland C++ 4.5
- Date: Sat, 17 Feb 1996 22:01:15 GMT
- Organization: Brooktree Corporation
- Message-ID: <4g5j2i$rqv@btree.brooktree.com>
- References: <wbmcmast.2.00659551@bud.peinet.pe.ca>
- NNTP-Posting-Host: komissar.is.brooktree.com
-
- wbmcmast@bud.peinet.pe.ca wrote:
-
- [deleted]
-
- >What am I doing wrong here? How can I get BC++4.5 to generate a .dll file?
- >Do I need WinMain() and LibMain()? Why do I get the linker error when I
- >try to link without the WinMain()?
-
- 1.You are not setting desired targed properly. Right-click mouse on
- the .dll node, choose TargetExpert and set it to windows dll. Make
- sure you uncheck OWL check box.
- 2.You do not need either function ( WinMain is for .exe only and
- Borland libs supply a default LibMain and WEP )
-
- HTH, Alex
-
-
-